home *** CD-ROM | disk | FTP | other *** search
/ Clickx 31 / Clickx 31.iso / assets / software / MyServer-win32-0.8.2.exe / web / documentation / texts / remotecontrol.htm < prev    next >
Encoding:
Extensible Markup Language  |  2005-09-14  |  2.7 KB  |  65 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  3.   "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  5. <head>
  6. <title>MyServer Documentation - Remote Control - www.myserverproject.net</title>
  7. <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  8. <meta http-equiv="Content-Style-Type" content="text/css" />
  9. <link rel="stylesheet" type="text/css" href="../style/myserver.css" />
  10. </head>
  11. <body>
  12. <table class="center" width="95%">
  13. <tr>
  14. <td class="center">
  15. <h1 class="title">REMOTE CONTROL</h1>
  16. MyServer allows you to manage its configuration remotely, via your
  17. Control Center application, from anywhere in the world. You just need
  18. to enable the Control
  19. Protocol.<br />
  20. <br />
  21. For this, you have to add a virtual host that will use the Control
  22. Protocol. You can do this modifying the virtualhosts.xml file, so it
  23. looks like this:<br />
  24. <br />
  25. <p class="code"><VHOST> <br />
  26. <NAME>Every control connection</NAME> <br />
  27. <PORT>270</PORT> <br />
  28. <SSL_PRIVATEKEY>certificates/server.key</SSL_PRIVATEKEY>
  29.  <br />
  30. <SSL_CERTIFICATE>certificates/server.pem</SSL_CERTIFICATE >
  31.  <br />
  32. <PROTOCOL>CONTROL</PROTOCOL> <br />
  33. <DOCROOT></DOCROOT> <br />
  34. <SYSFOLDER></SYSFOLDER> <br />
  35. <ACCESSLOG>logs/control.log</ACCESSLOG> <br />
  36. <WARNINGLOG>logs/control.err</WARNINGLOG> <br />
  37. </VHOST>  </p>
  38. <p>The line <span class="code"><PORT>270</PORT></span>
  39. describes the port to be used for the access to the Remote Control. In
  40. the above example, you could access your webserver's Remote Control via
  41. the GUI connecting to localhost on port 270</p>
  42. <p>Please note that certificates/server.key and certificates/server.pem
  43. need to be created before use them. Refer to how create SSL keys for
  44. more information about. <br />
  45. </p>
  46. <p>You also need to modify myserver.xml to set a password for the
  47. administration, adding the following lines:<br />
  48. <br />
  49. <span class="code"><CONTROL_ENABLED>YES</CONTROL_ENABLED> 
  50. <br />
  51. <CONTROL_ADMIN>ADMIN</CONTROL_ADMIN>  <br />
  52. <CONTROL_PASSWORD>PASSWORD</CONTROL_PASSWORD>  <br />
  53. </span></p>
  54. <p>Just change the value of ADMIN and PASSWORD to fit your admin's
  55. username and password, and remember to use YES in the CONTROL_ENABLED
  56. parameter (otherwise, you will not be able to use the Remote Control
  57. center.)<br />
  58. </p>
  59. <p>Also define a name and a password for the administrator, better if
  60. you don't use simple words like admin or password.</p>
  61. </td>
  62. </tr>
  63. </table>
  64. </body>
  65. </html>